﻿using System;
using System.Collections.Generic;
using System.Text;

namespace GameConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            int[,] sssssss = new int[,] {
                {1,0,4,0,2,0,0,0,0},
                {0,2,8,6,0,0,0,0,0},
                {5,0,0,0,7,8,0,0,0},
                {0,1,0,0,0,3,0,7,0},
                {3,0,0,0,0,0,0,0,4},
                {0,8,0,9,0,0,0,0,0},
                {0,0,0,2,9,0,0,0,3},
                {0,0,0,0,0,6,8,1,0},
                {0,0,0,0,4,0,6,0,7}
            };
            SudokuGame.Sudoku sudoku = new SudokuGame.Sudoku(SudokuGame.Level.Level4, sssssss);

            sudoku.PrintSudokuEnd();
            sudoku.PrintSudokuTemplate();

            List<int[,]> result = sudoku.SolveSudoku();

            Console.WriteLine(result.Count);

            if (result.Count >= 1)
            {
                sudoku.PrintSudoku(result[0]);
            }
            Console.ReadKey();
        }
   }
}
